

package com.hazelcast.ringbuffer;

import com.hazelcast.spi.annotation.NamespacesSupported;

import java.util.Properties;

/**
 * Creates a new {@link RingbufferStore}.
 *
 * @param <T> type of the ringbuffer items
 */
@FunctionalInterface
@NamespacesSupported
public interface RingbufferStoreFactory<T> {

    RingbufferStore<T> newRingbufferStore(String name, Properties properties);
}
